package com.richinfo.buddy.oauthserver.model.response;
/**
* Created by WangXJ
* 2019-05-15 15:14
*/
public enum ResponseCode {

    SESSION_EXPIRED(2006, "会话已过期(多用户共同登录或超时)"),
    USER_NOT_LOGIN(2000, "用户未登录"),
    USER_NOT_ROLE(3000, "用户未授权");
	
    private int value;

    private String message;

    private ResponseCode(int value, String message) {
        this.value = value;
        this.message = message;
    }

    public int getValue() {
        return value;
    }

    public void setValue(int value) {
        this.value = value;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
